package com.jiayang.hhotel.bean;

import java.util.List;

import cn.droidlover.xdroidmvp.net.IModel;

/**
 * Created by Administrator on 2017/5/19 0019.
 * 客房物品数据类
 */

public class RoomThingModel implements IModel {

    /**
     * state : 9
     * info :
     * pHKTransListDto : [{"hKMenu":"101","hKMenuDescp":"","quantity2":12},{"hKMenu":"102","hKMenuDescp":"","quantity2":6},{"hKMenu":"101","hKMenuDescp":"","quantity2":12},{"hKMenu":"102","hKMenuDescp":"","quantity2":6},{"hKMenu":"2001","hKMenuDescp":"外套","price":12,"quantity1":1,"quantity2":12},{"hKMenu":"1001","hKMenuDescp":"啤酒","price":20,"quantity1":1,"quantity2":6}]
     */

    private int state;
    private String info;
    private List<PHKTransListDtoBean> pHKTransListDto;

    @Override
    public boolean isNull() {
        return false;
    }

    @Override
    public boolean isAuthError() {
        return false;
    }

    @Override
    public boolean isBizError() {
        return false;
    }

    @Override
    public String getErrorMsg() {
        return null;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public List<PHKTransListDtoBean> getPHKTransListDto() {
        return pHKTransListDto;
    }

    public void setPHKTransListDto(List<PHKTransListDtoBean> pHKTransListDto) {
        this.pHKTransListDto = pHKTransListDto;
    }

    public static class PHKTransListDtoBean {
        /**
         * hKMenu : 101
         * hKMenuDescp :
         * quantity2 : 12
         * price : 12
         * quantity1 : 1
         */

        private String hKMenu;
        private String hKMenuDescp;
        private int quantity2;
        private double price;
        private int quantity1;

        public String getHKMenu() {
            return hKMenu;
        }

        public void setHKMenu(String hKMenu) {
            this.hKMenu = hKMenu;
        }

        public String getHKMenuDescp() {
            return hKMenuDescp;
        }

        public void setHKMenuDescp(String hKMenuDescp) {
            this.hKMenuDescp = hKMenuDescp;
        }

        public int getQuantity2() {
            return quantity2;
        }

        public void setQuantity2(int quantity2) {
            this.quantity2 = quantity2;
        }

        public double getPrice() {
            return price;
        }

        public void setPrice(double price) {
            this.price = price;
        }

        public int getQuantity1() {
            return quantity1;
        }

        public void setQuantity1(int quantity1) {
            this.quantity1 = quantity1;
        }
    }
}
